package com.zhanghe.study.shardingjdbc.dao;

import com.zhanghe.study.shardingjdbc.model.Classes;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author zh
 * @date 2021/9/18 15:07
 */
@Mapper
public interface ClassesDao {
    boolean addClasses(Classes classes);

    Classes findById(Long id);

    List<Classes> findAll();
}
